/**
 * 
 */
package com.abel.web.view;

import java.io.Serializable;
import java.util.List;

import com.abel.domain.Person;

/**
 * @author admin
 *
 */
public class SearchViewBean extends BaseViewBean implements Serializable {

	private static final long serialVersionUID = 2476627188899133504L;
	
	private String lastName;
	
	private String ssn;
	
	private String dateSubmittedBegin;
	
	private String dateSubmittedEnd;

	private String dateLastSevenDays;
	
	private List<Person> applications;
	
	private boolean hasApplications;
	
	private String selectAll;
	
	private String application;
	
	
	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the ssn
	 */
	public String getSsn() {
		return ssn;
	}

	/**
	 * @param ssn the ssn to set
	 */
	public void setSsn(String ssn) {
		this.ssn = ssn;
	}


	
	/**
	 * @return the dateSubmittedBegin
	 */
	public String getDateSubmittedBegin() {
		return dateSubmittedBegin;
	}

	/**
	 * @param dateSubmittedBegin the dateSubmittedBegin to set
	 */
	public void setDateSubmittedBegin(String dateSubmittedBegin) {
		this.dateSubmittedBegin = dateSubmittedBegin;
	}

	/**
	 * @return the dateSubmittedEnd
	 */
	public String getDateSubmittedEnd() {
		return dateSubmittedEnd;
	}

	/**
	 * @param dateSubmittedEnd the dateSubmittedEnd to set
	 */
	public void setDateSubmittedEnd(String dateSubmittedEnd) {
		this.dateSubmittedEnd = dateSubmittedEnd;
	}

	/**
	 * @return the dateLastSevenDays
	 */
	public String getDateLastSevenDays() {
		return dateLastSevenDays;
	}

	/**
	 * @param dateLastSevenDays the dateLastSevenDays to set
	 */
	public void setDateLastSevenDays(String dateLastSevenDays) {
		this.dateLastSevenDays = dateLastSevenDays;
	}

	/**
	 * @return the applications
	 */
	public List<Person> getApplications() {
		return applications;
	}

	/**
	 * @param applications the applications to set
	 */
	public void setApplications(List<Person> applications) {
		this.applications = applications;
	}

	/**
	 * @return the hasApplications
	 */
	public boolean isHasApplications() {
		return this.applications != null && this.applications.size() > 0;
	}

	/**
	 * @return the selectAll
	 */
	public String getSelectAll() {
		return selectAll;
	}

	/**
	 * @param selectAll the selectAll to set
	 */
	public void setSelectAll(String selectAll) {
		this.selectAll = selectAll;
	}

	/**
	 * @return the application
	 */
	public String getApplication() {
		return application;
	}

	/**
	 * @param application the application to set
	 */
	public void setApplication(String application) {
		this.application = application;
	}

}
